FROM openjdk:21
WORKDIR /app
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY zey-inno-oss-1.0-SNAPSHOT.jar /app/oss.jar
RUN chmod +r /app/oss.jar
ENTRYPOINT ["java","-cp","oss.jar","com.inno.oss.OssApplication","java","-jar","oss.jar"]


